#define _CRT_SECURE_NO_WARNINGS 1
#include"TopK.h"

void test()
{
	int a[10] = { 4,6,2,7,8,1,7,3,5,9 };
	int prent = (10 - 1) / 2;

	while (prent>=0)
	{
		AdjustDown(a, 10, prent);
		prent--;
	}
	for (int i = 0; i < 10; i++)
	{
		printf("%d ", a[i]);
	}
}
void test1()
{
	CreateNDate();
}
void test2()
{
	PrintTopK(10);
}
int main()
{
	
	test2();
	return 0;
}

